package com.sihai.ehr.model.biz;

import com.sihai.core.BaseEntity;

import javax.persistence.*;

/**
 * 合同版本审核表
 */
@Entity
@DiscriminatorValue("audit_contract_version")
public class ContractVersionAuditing extends AuditingBase{

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "contract_ver_id")
    private ContractVersion contractVersion;//合同版本

    public ContractVersion getContractVersion() {
        return contractVersion;
    }

    public void setContractVersion(ContractVersion contractVersion) {
        this.contractVersion = contractVersion;
    }
}
